* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid #ccc; */

}
li{
    list-style: none;
}

body {
    background-image: url(./bg.png);
    display: flex;
    height: 100vh;
    background-size: cover;
    margin: 0;
    justify-content: center;
    align-items: center;

}
.hidden {
    display: none;
    transition: 0.5s;
}
.container{
    /* background-color: #fff; */
    width: 800px;
    height: 450px;
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    background-color: #afa9bb;
    overflow: hidden;
    position: relative;
}


.main{
    position: absolute;
    top: -10%;
    background-color: #d3b7d8;
    width: 340px;
    height: 500px;
    border-radius: 5px;
        right:5%;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s ease-in-out;
  
}

.main .login{

    border-radius: 20px;
    justify-content: center;
    align-items: center;
    background-color: 0.8;
    backdrop-filter: blur(10px);
    width: 400px;
    height: 400px;
    border: 1px solid #ccc;
    position: relative;
}
.main .register{

    border-radius: 20px;
    justify-content: center;
    align-items: center;
    background-color: 0.8;
    backdrop-filter: blur(10px);
    width: 400px;
    height: 400px;
    border: 1px solid #ccc;
}   
.main .other-box{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    bottom: -10%;
    height: 50px;
    text-align: center;

}
.main .other-box ul{
  display: flex;
}
.other-box li{
    border-radius: 50%;
    background-color: #fff;
    color: black;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.other-box li svg{
    margin-top: 10px;
}
.con-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    text-align: center;
    /* top: 50%; */
    transform: translateY(-60%) 1s ease-in-out;
}
.con-box .go-register {
    height: 40px;
    margin-top: 50px;
    border-radius: 8px;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 200px;
    text-decoration: 1px solid white;
    font-size: 16px;
}
.con-box .go-login {
    height: 40px;
    margin-top: 50px;
    border-radius: 8px;
    text-decoration: 1px solid white;
    border: none;
    cursor: pointer;
    font-weight: 200px;
    font-size: 16px;
}
.con-box.left {
    left: -120%;
}

.con-box.right {
    right: -120%;
}
.con-box img{

    width: 200px;
    height: 200px;}

.main .logerror{
    color: red;
    width: 80%;
    margin-top: 10px;
    text-align: center;
}
.main .reserror{
    color: red;
    width: 80%;
    margin-top: 10px;
    text-align: center;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

form input{
   
    height: 40px;
    left: 10px;
    width: 90%;
    margin-left: 10px;
    border: none; /* 去除边框 */
    outline: none; /* 去除聚焦时的外轮廓 */
    background-color: transparent;
    font-size: 18px;
}
form .username-box{
    width: 80%;
    height: 40px;
    margin-top: 10px;
    border-radius: 20px;
    border: none; /* 去除边框 */
    outline: none; /* 去除聚焦时的外轮廓 */
    background-color: transparent;
    border: 1px solid white; /* 添加边框 */
    font-size: 18px;
}
form .password-box{
    width: 80%;
    height: 40px;
    margin-top: 10px;
    border-radius: 20px;
    border: none; /* 去除边框 */
    outline: none; /* 去除聚焦时的外轮廓 */
    background-color: transparent;
    border: 1px solid white; /* 添加边框 */
    font-size: 18px;
}
form button{
    width: 80%;
    height: 40px;
    position: absolute;
    bottom: 30px;
border-radius: 8px;
    background-color:white;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: 200px;
    font-size: 16px;
}